<?php
class Subcategorymanager_Controller_Subcategorymanager implements Subcategorymanager_Controller_Mainable {
    
    public $page = array();
    private $subcategory_model_subcategory;
    
    public function __construct() {
        $this->subcategory_model_subcategory = new Subcategorymanager_Model_Subcategorymanager;
    }
    
    public function main(array $variables = null){
        $this->page = $this->subcategory_model_subcategory->main($variables);
        $view = new Core_Controller_View($this->page['template']);
        $view->assign('page', $this->page);
    }
}
